package com.yjf.ljr.dataclass;

import java.io.Serializable;
import java.util.List;

import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import com.yjf.ljr.parser.DataClass;

public class TestDataClass extends DataClass {
	@SerializedName("ifmore")
	@Expose
	// 是否有更多
	public String ifMore;

	@SerializedName("fanslist")
	@Expose
	// 我喜欢、我评论
	public List<FansInfo> fansList;


	@Override
	public boolean copy(DataClass valueClass) {
		if (valueClass == null || !(valueClass instanceof TestDataClass)) {
			return false;
		}
		this.ifMore = ((TestDataClass) valueClass).ifMore;
		this.fansList = ((TestDataClass) valueClass).fansList;
		return true;
	}

	public static class FansInfo implements Serializable {
		private static final long serialVersionUID = 1L;
		@Expose
		// 用户ID
		public String userId;
		@Expose
		// 用户名称
		public String userName;
		@Expose
		// 性别
		public String sex;
	}
}
